<?php

// Restrict Unrestricted Access

defined("_dispatch") or	die("Access Denied !");

/*
 *  FormField
 */

class   FormField{
    
    private $_value;
    private $_default_error;
    private $_name;
    
    public function setName($name){
        
        $this->_name = $name;
    }
    
    public function getName(){
        
        return $this->_name;
        
    }

    public  function    validate(){
        
        //  Override
        
    }
    
    public  function    setDefaultError($error){
        
       $this->_default_error = $error;
        
    }
    
    public  function    getDefaultError(){
        
        return $this->_default_error;
    } 
    
    public  function    setValue($_value){
        
        $this->_value   =   $_value;
    }
    
    public  function    getValue(){
        
        return $this->_value;
        
    }

}

?>
